<%@page pageEncoding="UTF-8" language="java" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息修改</title>
    <style>
        .left, .content {
            display: inline-block;
        }

        .left {
            width: 200px;
        }

        ul li {
            list-style: none;
        }
    </style>
</head>
<body>
<div>
    <div class="left">
        <ul>
            <li>
                <a href="./profile">个人信息</a>
            </li>
            <li>
                <a href="./changePassword">修改密码</a>
            </li>
            <li>
                <a href="./destroy">注销账户</a>
            </li>
        </ul>
    </div>
    <div class="content">
        <div>${result.message}</div>
        <form method="post" action="./profile">
            <div>
                <label>登录名
                    ${user.loginName}
                </label>
            </div>
            <div>
                <label>姓名
                    <input name="name" value="${user.name}"/>
                </label>
            </div>
            <div>
                <label>邮件地址
                    <input name="email" value="${user.email}"/>
                </label>
            </div>
            <div>
                <label>手机号码
                    <input name="mobilePhone" value="${user.mobilePhone}"/>
                </label>
            </div>
            <div>
                <button>提交</button>
            </div>
        </form>
    </div>
</div>
</body>
</html>